ci(developer-hub): add lychee link checker for docs#3552
ci(developer-hub): add lychee link checker for docs#3552
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d9bd257841
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - "apps/developer-hub/src/**" | ||
|
|
||
| concurrency: | ||
| group: links-${{ github.head_ref || github.run_id }} |
There was a problem hiding this comment.
Scope concurrency group to PR identity
The concurrency key uses github.head_ref, which is only the source branch name, so different pull requests that happen to use the same branch name (for example patch-1 from different forks) will share one group and cancel each other’s runs. This means link checks can be terminated for unrelated PRs, leaving missing or flaky status checks; use a PR-unique value like github.event.pull_request.number (with a push fallback) to ensure cancellation only affects stale runs of the same PR.
Useful? React with 👍 / 👎.
Summary
mainwhenapps/developer-hub/content/orapps/developer-hub/src/files change.lycheeignoreto suppress false positives (placeholder URLs, OpenAPI spec endpoint)Test plan
.mdxfile inapps/developer-hub/content/and verify the workflow runs.lycheeignorepatterns correctly exclude placeholder URLs🤖 Generated with Claude Code